#!/usr/bin/make -f

DEB_PYTHON_SYSTEM := pysupport
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-lib usr/share/python-support/kidux
# hack around CDBS bug -- see #373678
# DEB_PYTHON_INSTALL_ARGS := ${DEB_PYTHON_INSTALL_ARGS_ALL}
#

binary-post-install/kidux-emesene-plugin::
	dh_installdirs
	-rm -rf debian/kidux-emesene-plugin/usr/lib/

clean::
	# hack (CDBS bug -- see #300149)
	-rm -rf build kidux-emesene-plugin.egg-info

